package com.university.evaluation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.university.evaluation.entity.StudentScoreDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentScoreDetailMapper extends BaseMapper<StudentScoreDetail> {

    // 可以在这里添加自定义的SQL方法
    List<StudentScoreDetail> findByStudentIdAndSystemId(Long studentId, Long systemId);
    List<StudentScoreDetail> findBySystemIdAndStatus(Long systemId, Integer status);
    List<StudentScoreDetail> findByItemId(Long itemId);

}